from application.celery import app
from apps.gupiaoliebiao.views import syncGupiaoliebiao, syncSuoShuHangYe


@app.task(bind=True)
def lytask_gupiaoliebiao(self):
    result = syncGupiaoliebiao()
    return "股票列表-----定时任务运行中"


@app.task(bind=True)
def lytask_suoShuHangYe(self):
    result = syncSuoShuHangYe()
    return "股票所属行业-----定时任务运行中"
